package com.yilin.platform.base_core.tools.pab.base;

import com.yilin.platform.base_core.tools.pab.base.BaseResult;
import com.yilin.platform.base_core.tools.pab.base.XmlField;
import java.util.List;


/**
 * 解析多层测试实体类
 * */
public class _ReqBodyTest extends BaseResult {

    @XmlField("BodyTest")
    private String bodyTest;
    @XmlField("TestList")
    private List<ReqBodyChild> testList;
    @XmlField("ReqBodyChild")
    private ReqBodyChild reqBodyChild;

    //第二层
    public static class ReqBodyChild extends BaseResult{
        @XmlField("TestItem1")
        private String testItem1;
        @XmlField("TestItem2")
        private String testItem2;
        @XmlField("ChildTestList")
        private List<ReqBodyChildChild> childChildList;

        //第三层
        public static class ReqBodyChildChild extends BaseResult{
            @XmlField("ChildItem1")
            private String childItem1;
            @XmlField("ChildItem2")
            private String childItem2;

            ///无限层
            public ReqBodyChildChild() {
            }

            public ReqBodyChildChild(String childItem1, String childItem2) {
                this.childItem1 = childItem1;
                this.childItem2 = childItem2;
            }

            public String getChildItem1() {
                return childItem1;
            }

            public void setChildItem1(String childItem1) {
                this.childItem1 = childItem1;
            }

            public String getChildItem2() {
                return childItem2;
            }

            public void setChildItem2(String childItem2) {
                this.childItem2 = childItem2;
            }
        }

        public ReqBodyChild() {
        }

        public ReqBodyChild(String testItem1, String testItem2, List<ReqBodyChildChild> childChildList) {
            this.testItem1 = testItem1;
            this.testItem2 = testItem2;
            this.childChildList = childChildList;
        }

        public List<ReqBodyChildChild> getChildChildList() {
            return childChildList;
        }

        public void setChildChildList(List<ReqBodyChildChild> childChildList) {
            this.childChildList = childChildList;
        }

        public String getTestItem1() {
            return testItem1;
        }

        public void setTestItem1(String testItem1) {
            this.testItem1 = testItem1;
        }

        public String getTestItem2() {
            return testItem2;
        }

        public void setTestItem2(String testItem2) {
            this.testItem2 = testItem2;
        }
    }

    public ReqBodyChild getReqBodyChild() {
        return reqBodyChild;
    }

    public void setReqBodyChild(ReqBodyChild reqBodyChild) {
        this.reqBodyChild = reqBodyChild;
    }

    public String getBodyTest() {
        return bodyTest;
    }

    public void setBodyTest(String bodyTest) {
        this.bodyTest = bodyTest;
    }

    public List<ReqBodyChild> getTestList() {
        return testList;
    }

    public void setTestList(List<ReqBodyChild> testList) {
        this.testList = testList;
    }
}
